package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.domain.db.trade.TradeCargoOrder;
import com.ruoyi.system.domain.db.transport.TransportTask;
import com.ruoyi.system.domain.dto.WareDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderWarehouseStateVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private TransportTaskVo task;

    private TradeCargoOrderVo order;

    private WareVo warehouse;

    private Integer state;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private SysUser createBy;

}
